package org.penguin.boot.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class LogInController {
    
    @RequestMapping("/loginPage")
    public String loginPage(@RequestParam(value = "error", defaultValue = "false") boolean loginError, Model model) {
        return "/loginPage";
    }
}
